package com.ruoyi.costumeShop.service;

import java.util.List;
import com.ruoyi.costumeShop.domain.CostumeSalesperson;

/**
 * salespersonService接口
 * 
 * @author ruoyi
 * @date 2022-03-22
 */
public interface ICostumeSalespersonService 
{
    /**
     * 查询salesperson
     * 
     * @param salespersonId salesperson主键
     * @return salesperson
     */
    public CostumeSalesperson selectCostumeSalespersonBySalespersonId(Long salespersonId);

    /**
     * 查询salesperson列表
     * 
     * @param costumeSalesperson salesperson
     * @return salesperson集合
     */
    public List<CostumeSalesperson> selectCostumeSalespersonList(CostumeSalesperson costumeSalesperson);

    /**
     * 新增salesperson
     * 
     * @param costumeSalesperson salesperson
     * @return 结果
     */
    public int insertCostumeSalesperson(CostumeSalesperson costumeSalesperson);

    /**
     * 修改salesperson
     * 
     * @param costumeSalesperson salesperson
     * @return 结果
     */
    public int updateCostumeSalesperson(CostumeSalesperson costumeSalesperson);

    /**
     * 批量删除salesperson
     * 
     * @param salespersonIds 需要删除的salesperson主键集合
     * @return 结果
     */
    public int deleteCostumeSalespersonBySalespersonIds(Long[] salespersonIds);

    /**
     * 删除salesperson信息
     * 
     * @param salespersonId salesperson主键
     * @return 结果
     */
    public int deleteCostumeSalespersonBySalespersonId(Long salespersonId);
}
